package com.sinosoft.ptas.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
/**
 * 实施期目标实体类
 * @author lianWuJun
 * @time   2017年2月18日 下午2:29:53
 */
public class TargetsOfImplPhaseEntity implements Serializable{

	private static final long serialVersionUID = 1L;

	@Length(max = 36, message = "{targetsOfImplPhase.id.maxLength}")
	private String id;//标识符
	
	@NotBlank(message = "{targetsOfImplPhase.reportId.notText}")
	@Length(max = 50, message = "{targetsOfImplPhase.reportId.maxLength}")
	private String reportId;//所属申报表
	
	@Length(max = 36, message = "{targetsOfImplPhase.targetAttribute.maxLength}")
	private String targetAttribute;//目标属性
	
	private String targetAttributeName;//目标属性名称
	
	@Length(max = 255, message = "{targetsOfImplPhase.targetNameOfImplphase.maxLength}")
	private String targetNameOfImplphase;//实施期目标名称
	
	private String projectName;//项目名称
	private String projectId;//项目id
	
	private String referValueIsFinsh;//当前实施期目标下的指标参考默认值是否完成
	
	
	public String getReferValueIsFinsh() {
		return referValueIsFinsh;
	}
	public void setReferValueIsFinsh(String referValueIsFinsh) {
		this.referValueIsFinsh = referValueIsFinsh;
	}
	public String getTargetAttributeName() {
		return targetAttributeName;
	}
	public void setTargetAttributeName(String targetAttributeName) {
		this.targetAttributeName = targetAttributeName;
	}
	public String getProjectId() {
		return projectId;
	}
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	private String sourceFlag;//默认目标来源标识 0：默认 1：自定义
	
	private int sort ;//排序时候用
	
	private String creater;//创建人
	private Date createTime;//创建时间
	private String updator;//更新人
	private Date updateTime;//更新时间
	private List<AnnualTargetEntity> annualTargetDatalist;//年度目标
	private List<IndexEntity> indexEntityList;//指标集合
	    
	
	
	
	public String getSourceFlag() {
		return sourceFlag;
	}
	public void setSourceFlag(String sourceFlag) {
		this.sourceFlag = sourceFlag;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	public String getProjectName() {
		return projectName;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getReportId() {
		return reportId;
	}
	public void setReportId(String reportId) {
		this.reportId = reportId;
	}
	public String getTargetAttribute() {
		return targetAttribute;
	}
	public void setTargetAttribute(String targetAttribute) {
		this.targetAttribute = targetAttribute;
	}
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getUpdator() {
		return updator;
	}
	public void setUpdator(String updator) {
		this.updator = updator;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getTargetNameOfImplphase() {
		return targetNameOfImplphase;
	}
	public void setTargetNameOfImplphase(String targetNameOfImplphase) {
		this.targetNameOfImplphase = targetNameOfImplphase;
	}
	
	public List<AnnualTargetEntity> getAnnualTargetDatalist() {
		return annualTargetDatalist;
	}
	public void setAnnualTargetDatalist(
			List<AnnualTargetEntity> annualTargetDatalist) {
		this.annualTargetDatalist = annualTargetDatalist;
	}
	public List<IndexEntity> getIndexEntityList() {
		return indexEntityList;
	}
	public void setIndexEntityList(List<IndexEntity> indexEntityList) {
		this.indexEntityList = indexEntityList;
	}
	public int getSort() {
		return sort;
	}
	public void setSort(int sort) {
		this.sort = sort;
	}
	
 }
